/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapPatent.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月8日下午5:29:59
 *
*/

package com.firestone.bean.entity.elasticsearch.im;

import java.util.List;
import java.util.Set;

import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.LegalStatus;
import com.firestone.bean.entity.elasticsearch.nested.OrgInfo;

/**
 * @Description: TODO(产业地图DM层专利表 Elasticsearch bean)
 * @author CAIYJ
 * @date 2018年4月8日 下午5:29:59
 */
@Document(indexName = "dm_im_patent", type = "index")
@Setting(settingPath = "/setting/setting.json")
public class DmImPatent extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * @Fields agency : TODO(代理)
     */
    @Field(type = FieldType.keyword)
    private String agency;

    /**
     * @Fields agent : TODO(代理人)
     */
    @Field(type = FieldType.keyword)
    private String agent;

    /**
     * @Fields applicant : TODO(申请人)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String applicant;

    /**
     * @Fields applicant_address : TODO(申请人地址)
     */
    @Field(type = FieldType.keyword)
    private String applicant_address;

    /**
     * @Fields applicant_id : TODO(申请人ID)
     */
    @Field(type = FieldType.keyword)
    private String applicant_id;

    /**
     * @Fields application_date : TODO(申请时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String application_date;

    /**
     * @Fields application_num : TODO(申请号)
     */
    @Field(type = FieldType.keyword)
    private String application_num;

    /**
     * @Fields application_num_english : TODO(申请号英文)
     */
    @Field(type = FieldType.keyword)
    private String application_num_english;

    /**
     * @Fields application_number_attri : TODO(申请号属性)
     */
    @Field(type = FieldType.keyword)
    private String application_number_attri;

    /**
     * @Fields application_zip_city : TODO(申请链城市)
     */
    @Field(type = FieldType.keyword)
    private String application_zip_city;

    /**
     * @Fields application_zip_code : TODO(申请链代码)
     */
    @Field(type = FieldType.keyword)
    private String application_zip_code;

    /**
     * @Fields co : TODO(国省代码)
     */
    @Field(type = FieldType.keyword)
    private String co;

    /**
     * @Fields content : TODO(内容)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String content;

    /**
     * @Fields country : TODO(国家)
     */
    @Field(type = FieldType.keyword)
    private String country;

    /**
     * @Fields cpc_classification_number : TODO(CPC分类号)
     */
    @Field(type = FieldType.keyword)
    private String cpc_classification_number;

    /**
     * @Fields describe : TODO(描述)
     */
    @Field(type = FieldType.keyword)
    private String describe;

    /**
     * @Fields ext_company : TODO(企业)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String ext_company;

    /**
     * @Fields ext_institute : TODO(机构)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String ext_institute;

    /**
     * @Fields fcic : TODO(范畴分类)
     */
    @Field(type = FieldType.keyword)
    private String fcic;

    @Field(type = FieldType.keyword)
    private String geo_id;

    /**
     * @Fields imageurl : TODO(图片链接)
     */
    @Field(type = FieldType.keyword)
    private String imageurl;

    /**
     * @Fields inventor : TODO(发明人)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String inventor;

    /**
     * @Fields ipc_classification_number : TODO(IPC分类号)
     */
    @Field(type = FieldType.keyword)
    private String ipc_classification_number;

    /**
     * @Fields ismedical : TODO(医健企业 定义：1=医健企业；2=药店、药房等 ；3=医院 ；4=研究机构
     *         ；6=代理机构；7=美容整形机构；8=健康服务(包括体育运动, 保健, 按摩等；9=疗养院；0: 明确不是医健相关的公司； 5:
     *         剩余不能明确判断的) )
     */
    @Field(type = FieldType.keyword)
    private String ismedical;

    /**
     * @Fields labels : TODO(标签)
     */
    @Field(type = FieldType.keyword)
    private String labels;

    /**
     * @Fields legal_status_nested : TODO(法律状态实体)
     */
    @Field(type = FieldType.Nested)
    private List<LegalStatus> legal_status_nested;

    /**
     * @Fields org_info : TODO(企业关联实体)
     */
    @Field(type = FieldType.Nested)
    private Set<OrgInfo> org_info;

    /**
     * @Fields patent_type : TODO(法律状态)
     */
    @Field(type = FieldType.keyword)
    private String patent_status;
    
    /**
     * @Fields patent_type : TODO(专利类型)
     */
    @Field(type = FieldType.keyword)
    private String patent_type;

    /**
     * @Fields pec : TODO(欧洲主分类号)
     */
    @Field(type = FieldType.keyword)
    private String pec;

    /**
     * @Fields pic : TODO(主分类号)
     */
    @Field(type = FieldType.keyword)
    private String pic;

    /**
     * @Fields pic : TODO(专利号)
     */
    @Field(type = FieldType.keyword)
    private String pn;

    /**
     * @Fields pic : TODO()
     */
    @Field(type = FieldType.keyword)
    private String pr;

    /**
     * @Fields pic : TODO(优先日)
     */
    @Field(type = FieldType.keyword)
    private String priority_date;

    /**
     * @Fields pic : TODO(优先号)
     */
    @Field(type = FieldType.keyword)
    private String priority_number;

    /**
     * @Fields publication_date : TODO(公开日)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String publication_date;

    /**
     * @Fields publication_num : TODO(公开号)
     */
    @Field(type = FieldType.keyword)
    private String publication_num;

    
        /**
        * @Fields publication_num_prefix : TODO(公开号前缀)
        */
    @Field(type = FieldType.keyword)
    private String publication_num_prefix;
    
    /**
     * @Fields sec : TODO(优先权)
     */
    @Field(type = FieldType.keyword)
    private String sec;

    /**
     * @Fields sectionName : TODO(章节名称)
     */
    @Field(type = FieldType.keyword)
    private String sectionName;

    /**
     * @Fields shenqingleixing : TODO(申请类型)
     */
    @Field(type = FieldType.keyword)
    private String shenqingleixing;

    /**
     * @Fields summary : TODO(摘要)
     */
    @Field(type = FieldType.keyword)
    private String summary;

    /**
     * @Fields title : TODO(标题)
     */
    @Field(type = FieldType.keyword)
    private String title;

    public String getAgency() {
        return agency;
    }

    public void setAgency(String agency) {
        this.agency = agency;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    public String getApplicant_address() {
        return applicant_address;
    }

    public void setApplicant_address(String applicant_address) {
        this.applicant_address = applicant_address;
    }

    public String getApplicant_id() {
        return applicant_id;
    }

    public void setApplicant_id(String applicant_id) {
        this.applicant_id = applicant_id;
    }

    public String getApplication_date() {
        return application_date;
    }

    public void setApplication_date(String application_date) {
        this.application_date = application_date;
    }

    public String getApplication_num() {
        return application_num;
    }

    public void setApplication_num(String application_num) {
        this.application_num = application_num;
    }

    public String getApplication_num_english() {
        return application_num_english;
    }

    public void setApplication_num_english(String application_num_english) {
        this.application_num_english = application_num_english;
    }

    public String getApplication_number_attri() {
        return application_number_attri;
    }

    public void setApplication_number_attri(String application_number_attri) {
        this.application_number_attri = application_number_attri;
    }

    public String getApplication_zip_city() {
        return application_zip_city;
    }

    public void setApplication_zip_city(String application_zip_city) {
        this.application_zip_city = application_zip_city;
    }

    public String getApplication_zip_code() {
        return application_zip_code;
    }

    public void setApplication_zip_code(String application_zip_code) {
        this.application_zip_code = application_zip_code;
    }

    public String getCo() {
        return co;
    }

    public void setCo(String co) {
        this.co = co;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCpc_classification_number() {
        return cpc_classification_number;
    }

    public void setCpc_classification_number(String cpc_classification_number) {
        this.cpc_classification_number = cpc_classification_number;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getExt_company() {
        return ext_company;
    }

    public void setExt_company(String ext_company) {
        this.ext_company = ext_company;
    }

    public String getExt_institute() {
        return ext_institute;
    }

    public void setExt_institute(String ext_institute) {
        this.ext_institute = ext_institute;
    }

    public String getFcic() {
        return fcic;
    }

    public void setFcic(String fcic) {
        this.fcic = fcic;
    }

    public String getGeo_id() {
        return geo_id;
    }

    public void setGeo_id(String geo_id) {
        this.geo_id = geo_id;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getInventor() {
        return inventor;
    }

    public void setInventor(String inventor) {
        this.inventor = inventor;
    }

    public String getIpc_classification_number() {
        return ipc_classification_number;
    }

    public void setIpc_classification_number(String ipc_classification_number) {
        this.ipc_classification_number = ipc_classification_number;
    }

    public String getIsmedical() {
        return ismedical;
    }

    public void setIsmedical(String ismedical) {
        this.ismedical = ismedical;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public List<LegalStatus> getLegal_status_nested() {
        return legal_status_nested;
    }

    public void setLegal_status_nested(List<LegalStatus> legal_status_nested) {
        this.legal_status_nested = legal_status_nested;
    }

    public Set<OrgInfo> getOrg_info() {
        return org_info;
    }

    public void setOrg_info(Set<OrgInfo> org_info) {
        this.org_info = org_info;
    }

    public String getPatent_status() {
        return patent_status;
    }

    public void setPatent_status(String patent_status) {
        this.patent_status = patent_status;
    }

    public String getPatent_type() {
        return patent_type;
    }

    public void setPatent_type(String patent_type) {
        this.patent_type = patent_type;
    }

    public String getPec() {
        return pec;
    }

    public void setPec(String pec) {
        this.pec = pec;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPn() {
        return pn;
    }

    public void setPn(String pn) {
        this.pn = pn;
    }

    public String getPr() {
        return pr;
    }

    public void setPr(String pr) {
        this.pr = pr;
    }

    public String getPriority_date() {
        return priority_date;
    }

    public void setPriority_date(String priority_date) {
        this.priority_date = priority_date;
    }

    public String getPriority_number() {
        return priority_number;
    }

    public void setPriority_number(String priority_number) {
        this.priority_number = priority_number;
    }

    public String getPublication_date() {
        return publication_date;
    }

    public void setPublication_date(String publication_date) {
        this.publication_date = publication_date;
    }

    public String getPublication_num() {
        return publication_num;
    }

    public void setPublication_num(String publication_num) {
        this.publication_num = publication_num;
    }

    public String getPublication_num_prefix() {
        return publication_num_prefix;
    }

    public void setPublication_num_prefix(String publication_num_prefix) {
        this.publication_num_prefix = publication_num_prefix;
    }

    public String getSec() {
        return sec;
    }

    public void setSec(String sec) {
        this.sec = sec;
    }

    public String getSectionName() {
        return sectionName;
    }

    public void setSectionName(String sectionName) {
        this.sectionName = sectionName;
    }

    public String getShenqingleixing() {
        return shenqingleixing;
    }

    public void setShenqingleixing(String shenqingleixing) {
        this.shenqingleixing = shenqingleixing;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

}
